home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
C-D
/
DeveloperStax.cpt
/
Developer Stack 1.1
/
card_15167.txt
< prev
next >
Wrap
Text File
|
1989-02-26
|
2KB
|
76 lines
-- card: 15167 from stack: in.1
-- bmap block id: 0
-- flags: 0000
-- background id: 2612
-- name: Speak
-- part 1 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=82 top=302 right=324 bottom=182
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Install
----- HyperTalk script -----
on mouseUp
if the optionkey is down then pass mouseup
put installres(XCMD,Speak) into it
if it is empty then play oops
else answer it
end mouseUp
-- part 2 (button)
-- low flags: 00
-- high flags: A004
-- rect: left=226 top=243 right=293 bottom=283
-- title width / last selected line: 0
-- icon id / first selected line: 27056 / 27056
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Try it
----- HyperTalk script -----
on mouseUp
if the optionkey is down then pass mouseup
speak "this is a test of the speak command"
end mouseUp
-- part contents for background part 13
----- text -----
9
-- part contents for background part 2
----- text -----
Speak
-- part contents for background part 3
----- text -----
You can use this command to access Macintalk and make your Macintosh talk. Be sure that Macintalk is in your system folder.
See also the Talk* XCMD
Thanks to:
? (If anyone knows who wrote this please pass the information on so proper credit can be given.)
-- part contents for background part 10
----- text -----
Syntax:
speak "Say whatever is in quotes"